package pers.lance.mvcrest.db;

import pers.lance.mvcrest.pojo.Book;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.UUID;

/**
 * @ Author     ：LILA3
 * @ Date       ：Created in 3:20 PM 7/25/2018
 */
public class DB {
    public static List<Book> booksTable;

    static {
        booksTable = new ArrayList<Book>();
        for(int i = 0; i < 10; i++){
            booksTable.add(new Book(UUID.randomUUID().toString(),"book" + i, i*0.15, new Date(), "author" + i));
        }
    }

}
